/**************************************
 *
 * VLOOK 模板主题
 *
 * powered by MAX°孟兆
 *
 * QQ Group: 805502564
 * email: maxchow@qq.com
 *
 *************************************/

@import "font";
@import "color";

// 指定字体主题
.applyFontStyle(sans);
// 指定主题配套的圆角
.applyThemeRadius(big);
// 文档背景使用图片
.applyDocBgImg(@docBgImgLight_Wave, @docBgImgDark_Wave);

// 主题信息
@themeName: "vlook-owl";
@themeDesc: "Owl";
@themeLogoLight: "";
@themeLogoDark: "";

// 主题主色
@theme1: #00A8BE;
@theme2: #7735CC;
@theme3: #00DAD8;
@theme1Dark: darken(@theme1, 10%);
@theme1Alt: lighten(@theme1, 52%);
@theme1AltDark: @codeBgColorDark;
@theme2Dark: darken(@theme2, 10%);
@theme2Alt: lighten(@theme2, 42%);
@theme2AltDark: darken(@theme2Alt, 52%);
// @theme3Dark: darken(@theme3, 10%);
// @theme3Alt: lighten(@theme3, 50%);
// @theme3AltDark: darken(@theme3Alt, 60%);

@themeForeColor: @theme3;
@themeForeColorFade: fade(@themeForeColor, 50%);
@themeBgColor: @theme1;
@themeBgColorFade: fade(@themeBgColor, 50%);
@themeBgColorDark: darken(@themeBgColor, 20%);
@themeBgColorAlt: lighten(@themeBgColor, 40%);

// 标题色
@headerColor: @themeBgColor;
@headerColorDark: @themeBgColor;
// @tocHeaderNumColor: @docTextColorLightFade;
@contentHeaderNumColor: @themeForeColorFade;
@headerBackground: linear-gradient(0deg, var(--header-bg-start-color), var(--header-bg-end-color));
@multiHeaderBG: none;
@headerTextAlign: left;
@headerPadding: 10px;
@headerLetterSpacing: 0;
@h1Shadown: none;
@h2Shadown: none;
@h3Shadown: none;
@h4Shadown: none;
@h5Shadown: none;
@h6Shadown: none;
@h1BorderLeft: 0;
@h2BorderLeft: 0;
@h3BorderLeft: 0;
@h4BorderLeft: 0;
@h5BorderLeft: 0;
@h6BorderLeft: 0;
@h1BorderRight: 0;
@h2BorderRight: 0;
@h3BorderRight: 0;
@h4BorderRight: 0;
@h5BorderRight: 0;
@h6BorderRight: 0;
@h1BorderTop: 9px solid var(--header-box-shadow);
@h2BorderTop: 7px solid var(--header-box-shadow);
@h3BorderTop: 5px solid var(--header-box-shadow);
@h4BorderTop: 3px solid var(--header-box-shadow);
@h5BorderTop: 1px solid var(--header-box-shadow);
@h6BorderTop: 0;

// 行内代码背景色
@codeBgColor: lighten(@themeBgColor, 52%);
@codeBgColorDark: darken(@themeBgColor, 22%);

// 按钮色
@buttonForeColor: #FFFFFF;
@buttonForeHoverColor: @themeForeColor;
@buttonBgColor: @themeBgColor;

// 加粗文字颜色
// @boldColorLight: @docTextColorLight;//#202224;
// @boldColorDark: @docTextColorDark;

// 链接颜色
@aBorderWidth: 2px;
@aColor: @headerColor;
@aColorDark: @headerColorDark;
@aLineColor: @theme2;
@aHoverColor: @aLineColor;
@aActiveColor: desaturate(@aLineColor, 50%);

// 选中内容的背景色
@selectionColor: @aLineColor;//fade(@aLineColor, 50%);

// 表格十字光标颜色
@tableCrossBgColor: fade(@aLineColor, 50%);

// 封面、封底文字位置及对齐方式
@coverTextAlign: center;
@coverTextPadding: 320px 60px 50px;
@coverTextColor: @codeBgColor;
@coverSubColor: @themeForeColor;
@coverSupColor: @coverSubColor;
@coverAuthorColor: @coverSubColor;
@coverOwnerColor: @coverSubColor;

@backCoverTextAlign: center;
@backCoverTextPadding: 270px 60px 50px;
@backCoverTextColor: @themeForeColor;

// 对比度边框色，用于主题色与背景色对比度比较低时的边缘视觉识别
@contrastBorder: 0 0 0 0 rgba(0, 0, 0, 0);
@contrastBorderForCover: 0 0 0 2px rgba(0, 218, 216, 0.2) inset;

// 封面背景设置
@coverBackgroundColor: @themeBgColor;
@coverBackgroundImage: url(@coverLogo), url(@coverTopSlogan), url(@coverBgBottom), url(@coverBg), url(@coverLinearBg);
@coverBackgroundSize: auto, auto, auto, auto, 100%;
@coverBackgroundRepeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-y;
@coverBackgroundPosition: top center, top center, bottom center, bottom center, center;
// 封底背景设置
@backCoverBackgroundColor: @coverBackgroundColor;
@backCoverBackgroundImage: @coverBackgroundImage;
@backCoverBackgroundSize: @coverBackgroundSize;
@backCoverBackgroundRepeat: @coverBackgroundRepeat;
@backCoverBackgroundPosition: @coverBackgroundPosition;

// 封面、封底素材资源
// Logo
@coverLogo: "";
// 顶部标语
@coverTopSlogan: "";
// 底部背景
@coverBgBottom: "";
// 图片背景
@coverBg: "";
// 渐变背景
@coverLinearBg: "";

@import "base";
